Martinez wrist shot gets the Kings ahead