The New York State comptroller, attempting to force greater public disclosure of corporate political spending, sued Qualcomm on Wednesday, demanding to view internal records of political expenditures by the company, one of the country’s largest makers of computer chips for mobile devices.