The case is quickly becoming a national test of how states deploy terrorism laws against protest movements tied to environmental issues.