Move key generation to the earlier stage (#63832)
Currently, the encryption key for Server Actions is generated during the
manifest creation. This PR moves it to be in the same position as the
build ID generation, and we will later leverage that key for other use
cases.
Closes NEXT-2959