graph/x11/rules.mk: Use pkg-config to find the X11 headers and library
This patch replaces the legacy code used to detect the X11 library with pkg-config, which is now the preferred method of detecting development headers and libraries.
This patch also removes the use of an rpath with X11.