Type this in your terminal emulator on your One X:
su setprop service.adb.tcp.port 5555 stop adbd start adbd
Then check it with this:
adb connect 192.168.0.151
And you should be connected!
To tell the One X to listen for adb on the USB port instead of TCP again, enter this into the terminal emulator:
su setprop service.adb.tcp.port -1 stop adbd start adbd
And to tell your computer to use USB for adb instead of TCP:
Very importantly, keep in mind, when your phone is listening for adb via WiFi, it's wide open... anybody that that the adb installed and knows your device's IP address can access it without a password. Again, a simple reboot will turn it off though.
PS - Your are appreciated!