Hydrostatic pressure control of the spin-orbit proximity effect, spin relaxation, and thermoelectricity in a phosphorene-WSe$_2$ heterostructure