A nearly vacant office building in Washington, D.C., that had been cued up for renovations by its previous owner has now sold to a multifamily developer at a deep discount in a deal that sets up the next potential office-to-apartment conversion play in the city.