[PHP] Update MetricsClient#submitInteraction()
As reported in https://phabricator.wikimedia.org/T362214, David Martin reported that MetricsClient#submitInteraction()
isn't adding the agent
property to events submitted to the stream either automatically or when the stream explicitly requested agent_*
context attributes. Unfortunately for us, #submitInteraction()
isn't adding any context attributes
Make #submitInteraction()
add the context attributes requested by the stream to be consistent with the JS implementation.
Bug: T362214