Masked Pretraining Strategy for Neural Potentials