A couple who both worked at a Japanese university have sued the institution, a court said, for reportedly allowing only the husband to keep an academic position after they were married.