The president visited an Allentown-area facility in a key battleground district of Pennsylvania, where he focused on economic issues and ending the war in Iran.