Temperature controlled cathode heating in electron beam welding machine