The code of Balatro is open source. Unzip your exe file and see that it's a bunch of lua source files in a trenchcoat.
The code is terribly written, so it'll probably take a while to find what you're looking for, but I once read through it check to see if Wheel of Fortune was actually a 1 in 4 chance. It is.
I doubt there is anything checking which deck you're using. Actual RNG is incredibly far from what our intuition about randomness is and it's made worse by many popular games having hidden pity systems to prevent streaks of bad luck. Balatro has no pity system. The game doesn't track if you missed Wheel of Fortune 6 times in a row. The next check is still 1 in 4.