Domain Gating Ensemble Networks for AI-Generated Text Detection