A farewell address to Massachusetts setting out Kennedy’s standards for public leadership as he prepared to assume the US presidency.