Peruvian goalkeeper released after brief detention in Spain