The leaders of Saudi Arabia and Egypt successfully lobbied President Trump to reverse U.S. policy in Libya and support a rogue general leading an offensive on a government in Tripoli backed by the United Nations, according to a senior U.S. administration official and two Saudi officials.