XQuartz doesn't support HiDPI in any reasonable way, but you can sort of make it work on a temporary basis.