Beijing’s moves bought it sway in Venezuela—all of it now subject to the Trump administration’s preferences in the wake of Maduro’s ouster.