Optical Control of the Topology of Laser-Plasma Accelerators