create_beast2_input_file_from_model function

Create a BEAST2 input file from an inference model