A child has died from rabies after waking up to a bat in their bedroom, according to a Canadian health official.