Creating superconductivity in WB2 through pressure-induced metastable planar defects