Connecting the Dots: Floorplan Reconstruction Using Two-Level Queries