California’s clout in national elections is shrinking as population growth slows. It’s a reminder of the adage demography drives destiny.