NAIROBI, Kenya — Kenya’s High Court on Friday upheld sections of the penal code that criminalize same-sex relations, a disappointment for gay rights activists across Africa where dozens of countries have similar laws. The judges’ unanimous ruling in the closely watched case was followed by activists’ vows to appeal. Many in Kenya’s vibrant gay community...