After years of progress in diversity, many companies’ upcoming slates feature mostly, and in some cases entirely, male-writer lineups. The backslide has prompted an outcry.