Think about it this way: imagine standing at the bottom of the Challenger Deep. Draw a small circle around yourself on the ocean floor. Now step outside the circle. Because you're standing on a spherical object (Earth), the area outside your circle isn't infinite like it would be on a plane. It's another finite region, which covers almost the entire Earth, and contains both yourself (standing just beside the lowest point of the Challenger Deep) and also the peak of Mount Everest. Therefore the circle is a base contour line for Everest, and Everest's wet prominence can be measured from the circle.
However, this same contour line cannot be used for the wet prominence measure of Mauna Kea, since it contains every mountain on Earth, many of which are taller. Mauna Kea's lowest contour line that doesn't contain another taller mountain would probably enclose a sizeable portion of the floor of the Pacific Ocean, but wouldn't include the Andes, Japan, or the Sierra Nevada, since those peaks are taller. The contour line would therefore be deep below the ocean surface, but not as deep as the Challenger Deep.