Direct observation of a dynamical glass transition in a nanomagnetic artificial Hopfield network