James Doherty fled the scene after his car left a child critically injured