Observation of the dynamical inversion of the topological charge of an optical vortex