hakham is the traditional title for a particularly important (ie head of community) sephardi rabbi, like the ben ish hai (baghdad C19th) or the hakham of great neck, NJ, who is the chief rabbi of the trad iraqi community in that part of the world. it just means "learned one" as opposed to "teacher", which is what "rabbi" means.
b'shalom
bananabrain