When a New York University professor died in 2024, it set off a legal dispute over a quietly accumulated fortune.