China's top diplomat says dialogue with the US is vital for global stability as leaders Xi Jinping and Donald Trump prepare to meet.