Polaron effects on third-harmonic generation in cylindrical quantum-well wires