Internal function to handle a InventoryClickEvent for this inventory. If the clicked item has an action attached to it via setItem, the action will be triggered.