Unfortunately, xGestures is not open source and its author has stopped its development, but maybe he would help you out with this feature? (http://guygizmo.blogspot.com/)
I use xGestures with my mouse all the time, and I can assure you it does not bring the window to the front before hiding the corresponding app.