Thames Water’s finance boss has quit midway through a key restructuring of the heavily indebted utility giant.