Israel's cabinet has approved a contentious bill that officially defines Israel as the nation-state of the Jewish people.