Racial resentment leads some to associate gun rights with white people, study finds