A person's sexuality has no bearing on their ability to do a job or hold an elected office.
Would I be able to do my job if I were married? yes.
Would I be able to do my job if I were not married? yes.
Would I be able to do my job if I were married to a woman? yes.
Would I be able to do my job if I were married to a man? yes.
The same holds true for almost any job...unless you are a porn star and can't get it going because your co-star is not your sexual preference... or something like that.
This should not be an issue. Sad that it continues to be an issue. So very sad.