Topology with Memory in Nonlinear Driven-Dissipative Photonic Lattices