The former Archbishop of Canterbury, Baron Williams of Oystermouth, has questioned the Liberal Democrats’ position on religious beliefs amid legal action by a former parliamentary candidate who claims he was deselected because of his Christian faith.