New York state lawmakers failed to pass a bill legalizing recreational marijuana.