President Reagan, with other motives in mind, has just saved Congress from itself, probably only temporarily, by vetoing a $299 million military bill. He wanted to dramatize Republican national-security militance against the supposedly soft Democrats, but his veto also knocked out a provision giving the armed forces a ''mission'' of interdicting drug smugglers.