Optimal Bounds on the Positivity of a Matrix from a Few Moments