A maximal function on harmonic extensions of H-type groups