A friend of Mark Haines was rumoured to be linked to the Indigenous teenager's death soon after his body was found on train tracks, an inquest has been told.