The federal appeals court in California reinstated a lawsuit challenging the military’s “don’t ask, don’t tell” policy.