Partial results from Namibia’s elections show the sparsely populated southwest African nation is on course to appoint its first female leader since it gained independence almost 35 years ago.