The spatial landscape of cancer hallmarks reveals patterns of tumor ecological dynamics and drug sensitivity