The two prosecutors leading the Manhattan district attorney’s investigation into former President Donald J. Trump and his business practices abruptly resigned on Wednesday amid a monthlong pause in their presentation of evidence to a grand jury, according to people with knowledge of the matter, throwing the future of the high-stakes inquiry into serious doubt.