Linking number and writhe in random linear embeddings of graphs