Rising prices and opposition to war may pressure Trump to de-escalate until after the midterms, analysts say.