Let $\,E=E_n\,$ be the set of all exponents $\,e>0\,$ such that: $\ a^{\large e}\equiv 1\pmod{\!n}\,$ for all $a$ coprime to $n.\,$ By definition $\, \lambda(n)\,$ is the least element of $E.\,$ Note $E$ is closed under positive subtraction, $ $ i.e.
$$\color{#0A0}j>\color{#C00}k\,\in\,E\ \Rightarrow\ j\!-\!k\,\in E,\ \ \ {\rm by}\ \ \ 1\equiv \color{#0A0}{a^{\large j}} \equiv a^{\large j-k}\, \color{#C00}{a^{\large k}} \equiv a^{\large j-k}\qquad \qquad $$
Theorem below $\,\Rightarrow\,\lambda(n)\,$ divides all elements in $E,\,$ including $\,\phi(n)\in E\,$ (by Euler's Theorem).
Remark $ $ $\lambda(n)$ and its above property are universal generalizations of the notion of order of an element in a group. Generally it is called the (universal) exponent of a group. It could also be called the universal order. The proof in the OP is essentially Proof $2$ below - specialized to the case at hand.
Theorem $\ \ $ If a nonempty set of positive integers $\rm\,\cal O\,$ satisfies $\rm\ n > m\, \in\, {\cal O} \ \Rightarrow\ n\!-\!m\, \in\, \cal O$
then every element of $\rm\,\cal O\,$ is a multiple of the least element $\rm\:\ell \in\cal O.$
Proof $\ {\bf 1}\ $ If not there's a least nonmultiple $\rm\:n\in \cal O,\:$ contra $\rm\:n\!-\!\ell \in \cal O\:$ is a nonmultiple of $\rm\:\ell. \, $
Proof ${\bf\ 2}\,\rm\ \ \cal O\,$ closed under subtraction $\rm\,\Rightarrow\,\cal O\,$ closed under remainder (mod), when it is nonzero, since mod is computable by repeated subtraction $\rm\, a\ mod\ b\, =\, a - k b\, =\, a-b-b-\cdots -b.\,$ Thus $\rm\,n\in \cal O\,$ $\Rightarrow$ $\rm\, (n\ mod\ \ell) = 0,\,$ else it is $\rm\,\in \cal O\,$ and smaller than $\rm\,\ell,\,$ contra mimimality of $\rm\,\ell.$
Remark $\ $ In a nutshell, two applications of induction yield the following inferences
$ \rm\begin{eqnarray} {\cal O}\rm\ closed\ under\ {\bf subtraction} &\Rightarrow\:&\rm {\cal O}\ closed\ under\ {\bf mod} = remainder = repeated\ subtraction \\
&\Rightarrow\:&\rm {\cal O}\ closed\ under\ {\bf gcd} = repeated\ mod\ (Euclid's\ algorithm) \end{eqnarray}$
Interpreted constructively, this yields the extended Euclidean algorithm for the gcd.
For more on the key innate structure see this post on order ideals and denominator ideals.