Putin arrives in Shanghai desperate to reorient Russia’s Asia policy amid tensions with the West and China’s rise.