Hollywood star Salma Hayek has joined a campaign to vaccinate mothers and babies in developing countries against tetanus.