Answer to this question is clearly no. You can’t be teacher if you’re intoxicated, and that applies to medical cannabis users as well.
If you use medical marijuana, you can’t become or remain teacher because you would be under the influence of intoxicating substances during working hours.
It’s same with police officers, fire fighters, and other professionals who work in safety critical positions where they have to be fully alert at all times.