Uganda says it detains American over subversive activities