Self-Supervised Learning with Lie Symmetries for Partial Differential Equations