The burst of new laws follows a landmark Supreme Court ruling and reflects public frustration with record-high homelessness.