Probing the Evolution of Gas-phase Chemistry during Laboratory Simulations of Planetary Haze Formation