The problem with this attitude is that there is no evidence that we will ever completely solve our problems on earth. There is always going to be something threatening us even if it's mainly ourselves. Also, it's the same philosophy critics of the space race espoused yet many of the tools we use to identify and track our global problems are an unintended outgrowth of that great power contest, e.g. climate sensing satellites. It's a deeply inspiring effort to colonize another planet and far from an "escapist" activity it's something which gives many people hope for the future. It's much easier to be an "escapist" by dabbling in distractions on earth than it is by building rockets or working on the science to make life possible on Mars! Sure, the endeavor shouldn't be a major global economic line item in the meantime but I'm not aware of the necessity to go that far.