Structure factor and electronic structure of compressed liquid rubidium