Nexstar’s politically charged acquisition of a rival TV station owner, Tegna, has been halted by a federal judge in California.