output/cursor: fix buffer size when nested and scaled
The Wayland, X11 and headless backends don't really care about the cursor size. We were picking a size identical to the texture size in that case. This is incorrect for LoDPI cursor textures on HiDPI outputs: in that case, we need to scale up the cursor texture.
Fixes the cursor being chopped off under the Wayland backend with scale > 1.