A former office in Dupont Circle will become a 15-story, 532-unit apartment building, the kind of transformation that D.C. officials see as key to downtown’s future.