An e-scooter rider left a boy fearing for his safety after he made an inappropriate comment on a canal towpath in Northampton.