Accelerating discrete dislocation dynamics simulations with graph neural networks