Shire of Cue to gain ownership of Masonic Lodge from National Trust WA amid plans to restore building