The strategy, the first of U.S. President Donald Trump’s second term, reflects his longstanding view that the American system of alliances is “one-sided” in favor of allies.