Germany’s Foreign Minister said that Trump’s comments about NATO had aroused concern across the 28-member alliance.