A great-grandmother was killed by a teenager on an e-bike who was allegedly speeding and on drugs, a court heard.