Stability-Aware Training of Neural Network Interatomic Potentials with Differentiable Boltzmann Estimators