Recent police shootings have reinforced a racial and class rift in Anaheim, a city of nearly 350,000, made up mostly of working-class Hispanics on the west side with wealthier, white people in the more sparsely populated eastern hills.