All-optical control of the quantum flow of a polariton condensate