Trump’s announcement dashed hopes on Wall Street that he would choose a less painful path for global trade, and followed the latest warning signal on the U.S. economy’s strength.