Wildlife officers captured a bear they determined had entered a luxury hotel before attacking an on-duty security guard in the resort's kitchen.