Ex-magistrate challenges NHS trust after removal from role due to pro-family comments on TV