Holly McNamara's late strike was the difference as Melbourne City made it five games unbeaten against A-League Women leaders and arch-rivals Melbourne Victory.