A ‘magnificent’ Dorset church has won a prestigious architecture award