A generalized Kohn‐Sham theory for low‐energy electron scattering by atoms including relativistic effects