Beyond the Mean: A Machine Learning-Based Trend Analysis of CGM Metrics for Improved HbA1C Estimation in Type 2 Diabetes.