Just asking the question is pretty significant grounds for a lawsuit. Even if you had some completely unrelated reason for not hiring that person, simply having asked the question will look pretty suspect in court. At the end of the day, if your state prohibits making employment decisions based on sexual orientation, you'd be pretty f-ing stupid to ask a question about it.