Trump’s public opposition to the prospect of annexation helped create space for Arab nations to consider a U.S. plan for ending the war and rebuilding Gaza.