Time-resolved electron transport with quantum trajectories