Kibble-Zurek mechanism in driven-dissipative systems crossing a non-equilibrium phase transition