When Large Language Models Meet Law: Dual-Lens Taxonomy, Technical Advances, and Ethical Governance