TheraMind: A Strategic and Adaptive Agent for Longitudinal Psychological Counseling