The British government has formally rejected the online petition calling for President Donald Trump's state visit to the UK to be canceled or downgraded.