A jury has retired to consider their verdict over a Perth woman accused of poisoning her “controlling” ex-husband.