A no‐hair theorem for self‐gravitating nonlinear sigma models