A veteran Labour former MP has quit the party, complaining that the leadership had "betrayed" the principles that inspired her to join.