Local kinetic energy and local temperature in the density‐functional theory of electronic structure