In both cases, former President Donald J. Trump is claiming a novel power to keep White House information from his time in office secret from the Justice Department.