BMW factory driver Dan Harper will drive alongside seven-time MotoGP champion Valentino Rossi in the GT World Challenge Endurance Cup.