The origin of the young stellar population in the solar neighborhood — A link to the formation of the Local Bubble?