A keylogger could theoretically work on wine if it was designed specifically to do so (eg. the way vitamin pointed out), 99% of them won't though. Using a different WINEPREFIX to play your games will sandbox you and eliminate once again whatever risk is left :)