Caster Semenya wins 800m title, Ajee Wilson third