Evolution of excited and ground-state species during burst-mode excitation of a barium vapor laser