Sam Smith has praised Madonna as a tireless champion of queer artists whose music has guided them through their career.