A dynamical transition of a chain of charged particles in a 2D substrate potential