The pointwise stationary approximation for queues with nonstationary arrivals