The president accused the Republican nominee of “becoming unhinged” after an appearance in Oaks, Pennsylvania went off the rails.