Enhanced Photonic Maxwell's Demon with Correlated Baths