This app was mentioned in 4 comments, with an average of 2.00 upvotes
You can try this app that I use: https://play.google.com/store/apps/details?id=netroken.android.persistalternate
It allows you to automatically set different volume profiles for different devices, locations, etc. I'm not sure it would differentiate between different pairs of headphones, but you can create a profile that will set the volumes to certain levels when something is plugged into the headphone jack.
Persist+ volume control
https://play.google.com/store/apps/details?id=netroken.android.persistalternate
There is also a free version.