The newly crowned Miss Virginia did a science experiment for her talent performance