A cross-kingdom Nudix enzyme that pre-empts damage in thiamin metabolism