Engineering the kinetic stability of a β-trefoil protein by tuning its topological complexity