Former US Secretary of Housing and Urban Development Julian Castro has dropped out of the race for the Democratic nomination for the 2020 presidential race.