An innate pathogen sensing strategy involving ubiquitination of bacterial surface proteins