Thanks for trusting us with your health concern.
Firstly, congratulations on your pregnancy !.
Now for the good news - there is NO ASSOCIATION between laser pointers and damage to the fetus. At the very most, very potent and powerful laser lights ( not at all the minor laser used for pointers ) - can cause damage to the eye and skin if these are persistently exposed to the laser.
Incidental shining of the pointer during class will cause least damage to you or the fetus.
Please go through the link attached, will give you more information about lasers -
If the technical jargon is too much, just forget about it.
You are at no risk, and should not be thinking about this at all.
Hope this helps, feel free to ask follow-up questions, if any.