Kim’s visit comes as China strengthens ties with North Korea amid prospects for renewed US dialogue.