With some office buildings remaining largely vacant more than two years since the start of the Covid-19 pandemic, local governments across the U.S. are drafting or passing policies to help entice developers convert those buildings into new uses: chief among them, housing.