Didn't California vote to legalize? I mean, I don't know when that takes or took effect. There was too much else after that happened. But either way, yeah, he probably should not have asked a student anyway. I'd be creeped out if a teacher was asking me that.
Maybe you should anonymously give him their email or something next time.