It wouldn't have to have been a discussion of his sex life at all. Certainly not an explicit one. It could easily have come up at the funeral, it could also have come up in the context of the 6th book when Harry and Dumbledore have several long, personal conversations. It doesn't.
Re: Why would she have to write a romance at all?