Provide a Name for the Button in the ControlTemplate. You can get the Button using the following statement in the CS file.
Button button = GetTemplateChild(YOUR_BUTTON_NAME_IN_THE_CONTROLTEMPLATE) as Button
button.Click += OnButtonClick;
Note: This would work fine if you derive the ListBoxItem and use the above code inside the derived class.
Update :
Deleted by mistake. I don't know how to undo the delete action. :(
Mark it as answer if it is helpful