Views diverge sharply by partisanship and age here too, with Democrats and younger adults more likely than Republicans and those who are older to say society is not accepting enough of people who don’t identify as a man or a woman.