A senior councillor has told a government minister she is “staggered” at how undemocratic the process to close a North Yorkshire village school has been.