Judge disallows amicus brief from LGBTQ group, in suit over