Appeals court to hear drilling moratorium case