Dynamics and Hall-edge-state mixing of localized electrons in a two-channel Mach-Zehnder interferometer