who was the president during the battle of antietam?