But the American academy of pediatrics as well as the National Athletic Trainer Assoc have both issued position statements that would disagree.
The AAP has some decent guidelines and recommendations, but basically for a kid between 6-18 yrs old, as long as they're enjoying it there isn't any specific reason to stop them.
Most conservative estimate I see is not to exceed a 10k race.