Even if Wisdom 2:12-20 was intended to speak of the coming Messiah, it does not require us to accept it as inspired or canonical. The statements could be gleaned from what the canonical books of the Old Testament teach. In fact, the United States Conference of Catholic Bishops says the following regarding Wisdom 2:12-20:
The authorship of the Book of Wisdom is unknown. It was not a part of the Jewish canon. It was originally composed in Greek. It was written during a time when there were no prophets alive in Israel. The author was obviously familiar with texts of the Old Testament, but that factor does not in itself prove the work to be inspired. The authors of the New Testament never cited Wisdom 2:12-20, which would be ironic if it truly was a Messianic prophecy.