Finding the armature owning a bone
You can use the id_data property for one of the selected bones (you only need one because it's not currently possible to select multiple bones from different armatures at the same time). It should be as simple as the following:

context.selected_pose_bones[0].id_data


If you want just the armature's name:

context.selected_pose_bones[0].id_data.name