A shuttered 300-room hotel in the heart of Baltimore once envisioned for an apartment conversion has sold for $7 million.