One day in the fall of 2015, Matthew Weiner was wandering a rarefied block on the Upper East Side when he saw a construction worker leering at an adolescent girl in a school uniform — “tall and slender and a little knock-kneed” — as she walked into a building under renovation.