Be more careful about querying randr

Check for extension version and number of outputs:
XRRGetScreenResourcesCurrent was added in v1.3.  Also, there's no
guarantee it returns any outputs, and we don't want to die with a
BadRROutput error.
5 jobs for master in 1 minute and 33 seconds (queued for 2 seconds)
latest