nvidia-detect: fix Xorg detection

Signed-off-by: Philip J Perry <phil@elrepo.org>