The Mass and Age Distribution of Halo White Dwarfs in the Canada–France Imaging Survey