Treasury Secretary’s Fourth of July picture ridiculed as ‘Red, Blue and a whole lot of Whiteness’