Try getting related pages using MultiDocumentQuery.
In your case, the code would look like:
string relationshipDisplayName = "Footer (Navigation Pages)";
//Relationship display name is the footer's class display name
//and the Pages field's field caption in parenthesis.
//See the CMS_RelationshipName database table.
var relationshipNameInfo = RelationshipNameInfoProvider.GetRelationshipNames()
.WhereEquals("RelationshipDisplayName", relationshipDisplayName)
.FirstOrDefault();
MultiDocumentQuery relatedPages = DocumentHelper.GetDocuments()
.InRelationWith(footer.NodeGUID, relationshipNameInfo.RelationshipName);
Then you should be able to iterate through relatedPages
without issue.