Saudi Arabia and Russia have been rivals, but the Saudi king’s historic visit suggests a new relationship.