Court restricts Spanish PM's wife before corruption case