WASHINGTON, United States — President Donald Trump is heading toward the November midterm elections with several major foreign policy goals still unresolved, as the prolonged Iran war, stalled efforts over Gaza and Ukraine, and rising economic costs create new political pressure for his administration.