ESRA: A Neuro-Symbolic Relation Transformer for Autonomous Driving