China’s nuclear path may offer a lesson to Trump on how to deal with North Korea