Hidden role of Maxwell superalgebras in the free differential algebras of D = 4 and D = 11 supergravity