Electric bike rider jailed over collision with boy