The first -- she wants to have a child when she is in a stable relationship. "It" replaces "to have another child", so the second clause reads: "I'd like to have another child [when I am] in a stable relationship." If she meant the latter, she would have had to use a completely different construction: "...but I don't want it to endanger my relationship."



