The two-time Olympic champion loses appeal against rules designed to regulate testosterone levels in female runners.