Liberal hopeful sacked for anti-Islam rant