Pressure-induced tuning of lattice distortion in a high-entropy oxide