A person has died as dangerous floodwaters inundate towns and cities in north Queensland.