The remote town of Leonora in Western Australia has been rocked by the death of a one-year-old boy who was struck by a car.