Thermoelectric current in topological insulator nanowires with impurities