LOUISVILLE, Colo. — Lavender Farms, an upscale assisted-living facility in the Boulder suburbs, promised “24/7 on-site care” in its marketing materials. But managers at its operating company, Balfour Senior Living, worried deeply about their ability to care for the elderly residents who roamed the farmhouse-chic corridors at odd hours and sometimes wandered outside unnoticed, documents and interviews show.