Tech is facing a wave of layoffs, and diversity-and-inclusion experts say the downsizing could ‘undo what little progress has been made’