The leader of Breaktime, a homelessness nonprofit, engineered a $6 million deal to purchase a five-story building.