The first US presidential visit to China in almost 10 years will test a fragile tariff truce.