Signatures of a topological phase transition in a planar Josephson junction