Diagnostics of underwater electrical wire explosion through a time- and space-resolved hard x-ray source