floating_maybe_reassign_ws: use get_output_from_rect
floating_maybe_reassign_ws: use get_output_from_rect

This significantly reduces the number of ELOGs while dragging floating
containers. The behaviour is improved since floating containers in the
edge of the screen will still get reassigned to their closest workspace.

For example, consider this setup:
fake-outputs 500x500+0+0,500x500+500+0

Now, open a window in the right output and run:
i3-msg floating enable, move position 0 px 450 px
The window is on the bottom edge of the left workspace but if you run:
i3-msg focus mode_toggle
focus will go to the right workspace since floating_maybe_reassign_ws
didn't change the assigned workspace of the floating container.

Airblader/i3-original,i3/i3,Airblader/i3,stapelberg/i3,Airblader/i3-original,Airblader/i3-original,Airblader/i3,stapelberg/i3,Airblader/i3,Airblader/i3,stapelberg/i3,i3/i3,Airblader/i3-original,Airblader/i3-original,stapelberg/i3,i3/i3,i3/i3