To get wind of something means to become aware of it, which is what would happen if she gave up the baby and people in town found out.
Consider the statement "Maybe if she gave up the baby, no one in town would ever become aware of it.". Based on this "Maybe if she gave up the baby, no one in town would ever get wind of it." a true statement? Yes, no, or I don't know?