Stabilizing strongly correlated photon fluids with non-Markovian reservoirs