really? would a book that is written by not only a women, but an incredibly hard working, single mum, and genius, be sexist? women getting married isn't sexist, it just makes those characters we grew to love themselves find love, and have a happy ending (well not tonks and lily obviously, but you know what i mean) all the main female characters in harry potter are amazing, loved characters all of them, essential. they are -in my opinion- not ridiculed in any way, but celebrated.
I really think each gender has their own role. I never really looked at it as two sides, male and female, anyways. I agree with @Heidi completely. All of the women you listed have had an incredibly important role in the series. The boys, equally have great roles. Also, the men have children too.
etc etc etc.
So its not really a question of getting married and having children. Both sexes really participate in that role haha.