Man charged after three-year-old's death in Townsville