The demographic shifts that enabled Mamdani's rise are likely to persist.