Technique for Detecting Warm-Hot Intergalactic Gas in Quasar Ultraviolet Spectra