Observing the onset of outflow collimation in a massive protostar