A flooding emergency is unfolding in the Queensland town of Maryborough, where homes and businesses have been inundated.