Is it safe to go through security metal detectors in the first trimester

Yes. These are safe in any trimester of pregnancy.
Yes. Metal detectors do not emit radiation, therefore no harm will come to the pregnancy. If you are not sure, then ask for a physical search.