Is there anything that a mom can take during pregnancy to prevent hairlip in her children?

None. Most of cleft lip (harelip) is a random occurrence, not associated with any particular vitamin deficiency.
Vitamins. Taking a multivitamin before conceiving and during pregnancy may help prevent cleft lip and cleft palate. If you're planning to get pregnant take prenatal multivitamin now.