Child in critical condition after being hit by car