High-dispersion ultraviolet spectra of the peculiar star RX Puppis