Julian Castro has been frequently called a rising star in national Democratic politics largely because at age 43 he has already compiled a resume that includes three years as a federal Cabinet secretary and five years as the mayor of one of the nation’s 10 largest cities.