Quasiclassical Trajectory Simulation as a Protocol to Build Locally Accurate Machine Learning Potentials