The trial of a California teenager accused of fatally shooting a gay classmate at school is drawing to a close, with the defense trying to chip away at the prosecution’s argument that the killing was a hate crime fueled by homophobia and white supremacist sympathies.