A Selection Principle for Weak KAM Solutions via Freidlin-Wentzell Large Deviation Principle of Invariant Measures