The Virginia House of Delegates rejected the judicial nomination of a gay prosecutor on Tuesday after conservative Republican lawmakers argued that the nominee would press an activist agenda.