Time-domain observation of Rabi flopping in a laser