In a move that sparked consternation, the autocratic leader popped up in Kyiv, Moscow, and Beijing for talks with two of the EU’s primary adversaries.