State officials have disavowed an advertising campaign that led to calls for an investigation of the agency that approved posters proclaiming that “South Carolina is so gay.”