China's leader has warned of disastrous consequences for the world if the relationship between Beijing and Washington is not managed under Donald Trump.