The U.S. Court of International Trade said the president had overstepped his authority in imposing his “reciprocal” tariffs globally, as well as levies on Canada and Mexico.