China’s economy slows as consumers tighten belts, US tariff risks mount