Spearman teacher pleads guilty to inappropriate relationship with student