The Mexican Supreme Court has upheld a state law that defines life as beginning at conception, making abortion illegal.