Spaniens premiärminister Pedro Sánchez överväger att avgå, efter att hans fru utreds för korruption.