Cuban pastor released from detention