A Perth man who fatally attacked an intellectually disabled stranger, who was waiting at a train station in the mistaken belief he had to go to work, has been sentenced to life in prison with a 19-year minimum.