With Trump, NATO Chief Tries to Navigate Spending Minefields