The California state bill would have penalized people who secretly recorded people in public with wearables equipped with cameras and microphones.