In Greenpoint and Ridgewood, the Republican speaks to a shared conservative identity amid neighborhood change.