Company makes last-minute move to keep control of district as board appointed by governor in ‘don’t say gay’ feud takes over