A U.S. economy praised for its surprising resilience to a pandemic, high inflation, and rapid interest rate hikes faces a new challenge from President Donald Trump’s self-declared trade war, seen by economists as a recipe for fewer jobs, slower growth, and higher prices.