I am not responsible for anyone hurting themselves using any of the following advice contained within this response.
The wires connecting to X and Y can be swapped with one another. The wires to G and W should not be swapped.
Therefore, if you attempt to rotate, you will only have to twist G and W wires (leaving them attached to the receptacle). The X and Y wires can be detached, left in same junction box position then reattached once the receptacle is rotated.
Of course, you would do this all while your two-pole circuit breaker is in the OFF/tripped position.
The wires connecting to X and Y can be swapped with one another. The wires to G and W should not be swapped.
Therefore, if you attempt to rotate, you will only have to twist G and W wires (leaving them attached to the receptacle). The X and Y wires can be detached, left in same junction box position then reattached once the receptacle is rotated.
Of course, you would do this all while your two-pole circuit breaker is in the OFF/tripped position.