Trump and Xi end “milestone” talks with pledges to stabilize ties, but disputes over Taiwan, Iran and trade still cloud U.S.-China relations.