Heavily armed police raided two inner Sydney properties over an alleged attempt to burn down a synagogue at Newtown.