Blackstone is nearing an agreement to purchase a Midtown tower, which would mark a return to New York office dealmaking for the world’s biggest real estate investor.