Co‐option of stress mechanisms in the origin of evolutionary novelties