School settles allegations it fired teacher for Suboxone use