A new test of gravity -- II: Application of marked correlation functions to luminous red galaxy samples