Predicting Opinion Dynamics via Sociologically-Informed Neural Networks