Prosecutors in New Jersey must disclose how the technology is used in criminal cases, the state’s Supreme Court ruled.