THE X-RAY DETECTABILITY OF ELECTRON BEAMS ESCAPING FROM THE SUN