Text this: L-MACD: Learning-Based Adaptive CAPTCHA Defense Against Multimodal AI Attacks