Ding Junhui must wait to find out if he will have to qualify for next month's World Championship after suffering a 5-1 loss to Lee Walker in qualifying.