Two-dimensional electromagnetic Child–Langmuir law of a short-pulse electron flow