New York City’s green building laws are pushing developers toward cleaner technologies — even as state policymakers backtrack on climate change targets.