In his farewell address to the General Assembly, the French president criticized Russia, Israel and, in more veiled terms, the United States.