If my Confused Pokemon tries to use a GX attack and flips Tails, does that use up my "one GX attack per game"?
No, if you flip tails the attack fails and you don't use up your GX attack.
Source: TPCi Rules Team (2017-01-26)