Senegal’s parliament has approved a bill that toughens punishment for homosexuality in the largely conservative West African nation.