A senior technology aide to President Donald Trump is stepping down, the latest in a growing list of top officials to depart a turbulent White House in recent days.