Federal authorities said they would not comply with California’s new ban on law enforcement agents wearing masks while conducting operations.