Couple called out after trespassing on rail lines to pose for wedding photos