Navigating the Legal and Ethical Risks of AI in HR and Recruitment