Xi Jinping’s warm reception for Kim Jong Un masks growing tensions over North Korea’s closer ties with Russia and its diplomatic ambitions