Court briefs outline how book ban creates hostile environment including discrimination based on sex