Rabbi left Russia after its invasion of Ukraine, had been pressured to support the war; community source says his contract was not renewed due to safety concerns