A weak type $(1,1)$ estimate for a maximal operator on a group of isometries of homogeneous trees