Justices agreed Monday to hear Microsoft Corp.’s challenge to a nearly $300 million patent infringement judgment against it, which the company claims is the largest patent verdict ever upheld on appeal.