The case could have national significance for gay rights if the Supreme Court decides to consider whether the law covers sexual-orientation discrimination.