The new levies on America’s top trade partners could drive prices higher for cars, electronics, lumber and more, threatening to crimp an economy that the president has vowed to improve.