A California teacher was charged with child endangerment after she was accused of being drunk and high while at work, police say