Sex-biased prevalence in infections with heterosexual, direct, and vector-mediated transmission: A theoretical analysis