From Gaza to Canada, Trump’s unpredictable mix of ego, instinct, and impulse is reshaping America’s role abroad — sometimes with real results, often with new risks.