For nearly two years after Hillary Rodham Clinton stepped down from her secretary of state post, the State Department was unable to search her emails in response to records requests because they were in her possession, and not on the department’s servers, officials said.