Look for a wife with the kind trait then, I think that prevents assassination plots.

Or a bit more gamey, imprison her once you notice the plot. I just tested it, you still get her bonus to state attributes, adjusted of course for the diplomacy penalty she receives due to imprisonment.