NSW teachers headed for strike action