You can change the click-through behavior in the X11 app by opening the X11 preferences (X11 > Preferences) and enabling the Click-through Inactive Windows option in the Windows tab.
That is current as of OS X Lion. If I remember correctly, previous versions had a defaults preference activated through the command line that was described in the Xquartz(1) man page.