bsd.xorg.mk: Stop using X --version, use pkgconf instead

This is faster and avoids spamming the console when the X binary is
broken temporarily during an upgrade.