Refactor XRROutputInfo selection

Additionally it fixes a bug where giving a number would cause a X error
if that number is not a valid output XID.
Change XRROutputInfo evaluation

Add check for connection to a monitor/presentation device.
Add message for invalid X output value.