Leveraging Single Atom Dynamics to Measure the Electron-Beam-Induced Force and Atomic Potentials