Trends and Challenges in Authorship Analysis: A Review of ML, DL, and LLM Approaches