Obstruction of pilus retraction stimulates bacterial surface sensing