Find max height of binary tree and check if balanced