Well, I am quite certain that the Doctor is part of an entirely different species, and is "the last" of his species according to him. So, no, he is not a homosexual, because there are no other members left of his species, technically. So really a good answer to why he backed away from River was...