Many states are taking aim at occupational licensing in the tight labor market. Not everybody is happy about it. Here’s what businesses need to know.