A senior official is quoted as saying Xi Jinping will attempt to mediate between US president Donald Trump and Kim Jong Un.