M5: A Whole Genome Bacterial Encoder at Single Nucleotide Resolution