China, U.S. officials reach agreement for allowing rare earth, tech trade. Now it’s up to Trump and Xi