If Trump negotiates a peace deal will it help or hurt him?
Yes.
Any end to the war and US taxpayer funding of it will be huge win for Trump.