X11RDP-RH-Matic.sh: use hash to detect sudo

Fedora doesn't installs which by default. Use built-in command
hash instead of which.