A second man has been arrested in relation to an alleged anti-Semitic attack on a synagogue in Sydney’s inner west.