Metro Detroit teacher accused of photographing student