A three-year-old has walked away with a minor concussion and bruising after being struck by a car outside a school