Tools that promise to detect AI writing can be dubious, but educators and publishers are using them anyway.