Paris Saint-Germain and Morocco defender Achraf Hakimi will appeal to France's highest court after a ruling confirmed he must stand trial on a rape charge.