James Haslett, Baltimore Gunsmith and the War of 1812