A California school board terminated the contract of its superintendent Wednesday, months after it was alleged that a mid-level supervisor and friend of the administrator’s played a cruel joke on a subordinate by putting his desk on a roof.