Pakistan and the United States have reached an agreement to jointly redevelop the Roosevelt Hotel in Manhattan, a more than 1,000-room property near Grand Central Terminal that for two years operated as the city’s main intake shelter for international migrants.