Structural and Electronic Competing Mechanisms in the Formation of Amorphous Carbon Nitride by Compressing s-Triazine