It is wrong to isolate the verses without looking at the context. The disciples were not criticized for eating non-kosher food. They were criticized for eating with unwashed hands. So they continued eating only kosher food.
What you are saying is NOT found in the words of Jesus written in Mt. 15:11 and Mark 7:15. What Jesus clearly says in these scriptures does not have anything to do with eating with unwashed hands. Jesus says that ANYTHING that ENTERS a person's mouth for WHATEVER reason, does NOT defile that person before the eyes of God. The words of Jesus are TRUE regardless of context.
Jesus did not say 'for whatever reason'. Sinful eating does not defile us, but it is still a sin, and we pay a price for whatever sin we commit.