A young driver who killed a pedestrian who was fixing his car by the side of the road has been jailed