CHICAGO—A new class-action lawsuit accuses Vivint of sending automated calls to cellphones without the owners’ permission, violating their privacy and federal law.