As they create increasingly sophisticated voice and face recognition products, technology firms are lobbying state lawmakers to discourage restrictive new laws that critics call necessary to prevent the violation of user rights.