Localization effects in nuclear spin relaxation of a charge-transfer complex