Dynamics of a polariton condensate transistor switch