Olympic runner Caster Semenya loses appeal to controversial rule