Among the contents of his backpack was a black helmet painted with red logos, similar to the headwear worn by protestors in Portland, police said