Is the wheel group commented out in /etc/sudoers? In the event that it is, the enrollment for userX in wheel will make no difference.
That being said, you don't have to enroll this user in wheel if you just want them to install packages via sudo yum. Just give that user the specific permission in /etc/sudoers:
userX ALL = NOPASSWD : /usr/bin/yum, /bin/rpm
userX would now be able to sudo yum install whatever, sudo rpm -i whatever (passwordless) but would be unable to run any other commands. You could remove them from the wheel group if you do this and have a more secure host. This depends on how much you trust this user and if you're comfortable enabling this functionality for them. Everything is a security risk, no matter which path you choose, so be sure you're wary of who you're adding.