Under General in the Actions and Traits menu


Place that on your bar.


And to leave a party in Duty Finder, click the Duty Finder button and hit leave

To leave a party outside of duty finder, open the social lists menu and click leave