Plans to construct a commercial estate in a village between Leeds and Wakefield have been denied.