A federal judge declared that a New Jersey school district has the right to terminate a security guard who shared discriminatory content on his Facebook…