The husband of a teacher who was stabbed by a pupil at a school in West Wales has called for urgent action to tackle behaviour.