Google was accused of discriminatory layoffs in a lawsuit filed Wednesday in Santa Clara, calling out the Bay Area tech giant’s treatment of new parents.