A dynamical characterization of diagonal-preserving $^{\ast }$ -isomorphisms of graph $C^{\ast }$ -algebras