Judge doubts gay marriage ban's backers can appeal