BRS invariance of the interacting Polyakov string