Lawmakers block cities from regulating rental properties