California’s new law requiring companies to include women on their boards of directors may not survive widely expected legal challenges but it has already spotlighted the entrenched practices and barriers that have helped keep women out of boardrooms.