Hot electrons in a nanowire hard X-ray detector