Harris could count on winning California’s 54 electoral college votes as she campaigned for president, and the state’s voters delivered.