Teen pleads guilty to trespass charge