The union representing California State University professors is contesting the system’s use of artificial intelligence tools and backing legislation that would protect their jobs from the technology.