A 15-year-old girl has been rushed to hospital with serious injuries after a crash near Leeds.