The UK government says it is in "discussions about supporting potential bids" to host the Olympics and Paralympics in the 2040s.