GOLD: Generalized Knowledge Distillation via Out-of-Distribution-Guided Language Data Generation