How can I change default X11 application?
cd to /usr/X11/bin 
rename the existing X symlink to Xquartz (to X_orig for example) in case you need to revert in the future to the "vanilla" config
symlink X to your compiled binary.