Multifractality of wave functions on a Cayley tree: From root to leaves