An 11-year-old girl was injured after she was hit by a van in a hit-and-run in Yorkshire.