The export curbs on rare earths come ahead of a meeting between Donald Trump and Xi Jinping, impacting global supply chains