LeanAgent: Lifelong Learning for Formal Theorem Proving