CAPE TOWN — In a nation ravaged by AIDS, a disease still hidden in shadows of stigma and shame, President Jacob Zuma of South Africa has begun to engage in an extraordinarily open conversation about sex, AIDS and H.I.V. prevention, one ignited in part by his own recent admission that he had unprotected sex during an extramarital affair.