Donald Trump has criticised a service at the Washington National Cathedral after a bishop appealed to him to show mercy to the LGBTQI community and migrants.