Counties and municipalities in Long Island were rapidly confronted with a serious housing shortage at the onset of the pandemic. But developers say local governments’ new pro-development attitudes are bringing new, more diversified residential developments to the region.