Wearing gloves is totally impractical while searching people. Where I work it has been proven to be less effective in finding items hidden beneath clothing.
Which would you prefer? Being searched by a guard who's hands are probably no dirtier than the aircraft seat you are about to sit in for hours, or run the risk of a prohibited item being missed at Security and being carried onto the aircraft?