You can put it in cfg/server.cfg which is executed every time a map loads. To disable it only for LTK, put it in ltk.cfg, which is executed every time LTK loads.
You may also want to change ge_autoteam (# of players at which teamplay is enabled automatically).