If the x-ray did not show any "anomaly" in the image of your wallet, then they cannot look/rifle thru your wallet and tell the TSO to stop! If you are threatened (n.b threatened as that's what it is) with d-y-w-t-f-t, inform the TSO that you will only have your wallet looked thru if 2 TSO's are present for dual custody purposes and that they are witnessed by an independent 3rd party and insist that the 3rd part be a LEO.