Sharp symmetry-change marks the mechanical failure transition of glasses