A Mechanics-Informed Neural Network Framework for Data-Driven Nonlinear Viscoelasticity