The treedist program in the PHYLIP suite offers this function, as does the RAxML standard package and the DendroPy Python library (under the name "symmetric difference metric").
PHYLIP |