The Palestinian-American freshman had approached the teacher after being rejected from the Advanced Placement English program.