Amortized Inference for Causal Structure Learning