Find lowest common ancestor in binary tree