When the Baseball Writers’ Association of America overwhelmingly sent Pedro Martinez to the Hall of Fame on Tuesday, giving him 91.1 percent of the vote in his first year on the ballot, they elected a player whose biography includes a significant detour into Queens.