Chewelah teachers reach agreement with district