Finds the tree element for the given value.
value
TreeElement<T>? locate(T value) => _locate(value, root);