The Pentagon’s plan to withdraw thousands of U.S. troops from Germany amid tensions over Iran is raising alarms among lawmakers and European allies about the future of American military presence in Europe.