Flock: A Knowledge Graph Foundation Model via Learning on Random Walks