With her at the hospital is her mother, who after realizing what had happened jumped down to the tracks and sprained her ankle, police said