Lagrangian Neural Network with Differentiable Symmetries and Relational Inductive Bias