The parliamentary vote places Senegal within a wider West African shift toward harsher anti-LGBT laws.