President Trump with Secretary of State Mike Pompeo, left, and the national security adviser, John R. Bolton, at the NATO summit meeting in Brussels last year. Mr. Trump’s threats to withdraw from the alliance had sent officials scrambling to prevent the annual gathering from turning into a disaster.