A French city’s mayor lashed out against the government’s “Islamist separatism” campaign after a mosque in his jurisdiction was accused and shut down to combat radicalism.